var contact = new Vue({
    el: "#contact",
    data: {
        infoUrl: "api/sys/info/contactInfo",
        menuUrl: "api/sys/index/menuCol",
        menuData:{},
        content: ""
    },
    mounted: function () {
        this.initData();
        menu_hover();
    },
    methods: {
        initData: function () {
            this.$http.get(baseUrl + this.infoUrl).then(
                function (res) {
                    this.content = res.data.data;
                }
            ).catch(function (response) {
                console.log(response)
            })
            this.$http.get(baseUrl + this.menuUrl).then(
                function (res) {
                    this.menuData = res.data.data;
                }
            ).catch(function (response) {
                console.log(response)
            })
        }
    },
    updated: function () {
        $(".contactWe img").addClass("img-responsive");
    }
});